package com.aco.party.web.command.system;

import com.aco.party.model.po.Events;
import org.springframework.beans.BeanUtils;

/**
 * Created by WangShijun on 2016/3/8.
 */
public class EditEventCommand extends Events{

    public void toCommand(Events events){
        BeanUtils.copyProperties(events,this);
    }

    public void toPo(Events events){BeanUtils.copyProperties(this,events);}
}
